package com.wentao.thisCommon.common;

public class VaildResult {
    public VaildResult(String name) {
        setName(name);
        setMessage(name);
        setCheckNull(true);
        setCheckReg(true);
        setCheckValueList(true);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isCheckNull() {
        return checkNull;
    }

    public void setCheckNull(boolean checkNull) {
        this.checkNull = checkNull;
    }

    public boolean isCheckReg() {
        return checkReg;
    }

    public void setCheckReg(boolean checkReg) {
        this.checkReg = checkReg;
    }

    public boolean isCheckEmpty() {
        return checkEmpty;
    }

    public void setCheckEmpty(boolean checkEmpty) {
        this.checkEmpty = checkEmpty;
    }

    public boolean isCheckValueList() {
        return checkValueList;
    }

    public void setCheckValueList(boolean checkValueList) {
        this.checkValueList = checkValueList;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private String message;
    private String name;
    private boolean checkNull;
    private boolean checkEmpty;
    private boolean checkReg;
    private boolean checkValueList;
}
